package com.kinth.dbutil;
/**
 * 1. 用于测试，不属于系统的一部分。可以忽略。
 */
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;



public class Test {
	static void   ipStore(String ip,String port){
		
		//UrlProxyService proxyService = new UrlProxyService();
		
	
	}
	public static void main(String[] args) {

		String url = "http://s.hc360.com/?w=%20%CB%B3%B7%A2%C5%A9%BB%FA%D3%D0%CF%DE%B9%AB%CB%BE&mc=enterprise";
		String industry = "农机";
		String params[] = {url,industry};
		ImplDAO implDAO = new ImplDAO();
		String sql = "insert into `huicong_url1` (`url`,`industry`)values(?,?)";
		try
		{
			implDAO.doExecute(sql, params);
		} catch (Exception e)
		{
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}
}
